package priv.menguer.bridge.controller;

import priv.menguer.bridge.service.DrawAPI;

/**
 * @Title Circle.java
 * @description TODO
 * @time 2018年10月26日 上午9:32:42
 * @author menguer@126.com
 * @version 1.0
 */
public class Circle extends Shape {
	private int x, y, radius;

	public Circle(int x, int y, int radius, DrawAPI drawAPI) {
		super(drawAPI);
		this.x = x;
		this.y = y;
		this.radius = radius;
	}

	public void draw() {
		drawAPI.drawCircle(radius, x, y);
	}
}
